* {
  margin: 0;
  padding: 0;
  text-decoration: none;
}

body,
html {
  width: 100%;
  height: 100%;
  background-image: url("/images/public/位图/空间默认背景.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

// 导航栏
.Navigation {
  width: 100%;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.9);
  position: fixed;
  top: 0px;
  right: 0px;
  left: 0px;
  min-width: 1200px;
  z-index: 9999;
  user-select: none;
  box-shadow: 0 0 1px 0px rgba(0, 0, 0, 0.3), 0 0 6px 2px rgba(0, 0, 0, 0.15);

  ul {
    line-height: 55px;
    margin-left: 120px;

    li:hover {
      border-bottom: 3px solid #551a8b;
    }

    a {
      li {
        font-size: 15px;
        float: left;
        list-style: none;
        margin-left: 40px;

        img {
          width: 17px;
          vertical-align: middle;
        }
      }
    }
  }

  //   登录注册的按钮
  .toLogin {
    float: right;
    line-height: 55px;
    height: 25px;
    margin-right: 50px;
    border-radius: 5px;

    a {
      display: inline-block;
      text-align: center;
      width: 50px;
    }
  }
}

.index {
  width: 100%;
  height: 700px;
  background-image: url("/images/index/位图/上方背景图 (1).jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  .PaperPlaneBox {
    width: 240px;
    height: 240px;
    margin: auto;
    padding-top: 60px;

    .PaperPlane {
      width: 240px;
      overflow: hidden;
      -webkit-animation-name: PaperPlane;
      animation-name: PaperPlane;
      -webkit-animation-duration: 5s;
      animation-duration: 5s;
      -webkit-animation-timing-function: linear;
      animation-timing-function: linear;
      user-select: none;
    }
  }

  .Logo {
    width: 470px;
    height: 81px;
    margin: auto;
    user-select: none;

    h1 {
      text-align: center;
      font-size: 80px;
      color: white;
    }
  }

  .titleBox {
    width: 50%;
    height: 135px;
    margin: -30px auto;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 19;
    border-radius: 10px;

    .text {
      text-align: center;
      color: white;
      font-weight: 900;
      font-size: 17px;
      padding-top: 50px;
    }

    .toLeft {
      width: 30px;
      height: 30px;
      float: left;
      margin-top: 70px;
      margin-left: 20px;
      cursor: pointer;
      user-select: none;
    }

    .toRight {
      width: 30px;
      height: 30px;
      float: right;
      margin-top: 70px;
      margin-right: 20px;
      cursor: pointer;
      user-select: none;
    }

    .LogoBox {
      display: flex;
      margin: 10px auto;
      justify-content: space-around;
      width: 100px;

      a {
        img {
          width: 30px;
          height: 30px;
          user-select: none;
        }
      }
    }
  }

  .toBottomBox {
    width: 45px;
    height: 45px;
    margin: auto;
    margin-top: 52px;
    user-select: none;
    cursor: pointer;

    .toBottom {
      width: 45px;
      height: 45px;
      animation: toBottom 2s;
      animation-iteration-count: infinite;
      animation-timing-function: linear;

      @keyframes toBottom {
        0% {
          margin-top: 0px;
        }

        50% {
          margin-top: 20px;
        }

        100% {
          margin-top: 0px;
        }
      }
    }
  }
}

// 纸飞机的动画
@keyframes PaperPlane {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }

  10% {
    opacity: 0.8;
    transform: translate3d(-100px, 0px, 0) rotate(10deg) scale(0.7);
  }

  35% {
    opacity: 0.6;
    transform: translate3d(100px, 0px, 0) rotate(30deg) scale(0.4);
  }

  50% {
    opacity: 0.4;
    transform: translate3d(0, 0, 0) rotate(360deg) scale(0);
  }

  80% {
    opacity: 0.2;
    transform: translate3d(0, 0, 0) rotate(720deg) scale(1);
  }

  90% {
    opacity: 0.1;
    transform: translate3d(0, 0, 0) rotate(3600deg) scale(4);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(3600deg) scale(1);
  }
}

.say {
  width: 920px;
  display: flex;
  margin: 40px auto;
  justify-content: space-around;

  .sayData {
    width: 290px;
    height: 180px;
    border: 1px solid #d2d2d2;

    fieldset {
      border-bottom: transparent;
      border-left: transparent;
      border-right: transparent;
      border-top: 1px solid #d2d2d2;
      margin-top: 30px;

      legend {
        text-align: center;
        padding-left: 20px;
        padding-right: 20px;
        font-size: 21px;
      }
    }

    p {
      color: #261600;
      font-size: 14px;
      width: 270px;
      margin: 25px auto;
    }
  }
}

.Exhibition {
  width: 920px;
  height: 200px;
  margin: auto;
  margin-top: 30px;
  padding-bottom: 50px;

  p {
    font-size: 20px;
    line-height: 30px;
  }
}

.footer {
  width: 100%;
  height: 200px;
  background-color: #494949;

  p {
    line-height: 200px;
    color: #fff;
    text-align: center;
    user-select: none;
  }
}

// 当浏览器小于 940 执行里面样式
@media screen and (max-width: 940px) {
  .Navigation {
    ul {
      margin-left: 0px;
    }
  }

  .titleBox {
    display: none;
  }

  .Exhibition {
    width: 600px;
    margin: auto;
    margin-top: 30px;
    padding-bottom: 50px;
  }

  // 下面展示的三段话
  .say {
    width: 100%;
    display: block;

    .sayData {
      width: 550px;
      height: 180px;
      margin: 20px auto;
      border: 1px solid #d2d2d2;

      fieldset {
        border-bottom: transparent;
        border-left: transparent;
        border-right: transparent;
        border-top: 1px solid #d2d2d2;
        margin-top: 30px;

        legend {
          text-align: center;
          padding-left: 20px;
          padding-right: 20px;
          font-size: 21px;
        }
      }

      p {
        color: #261600;
        font-size: 14px;
        width: 80%;
        margin: 25px auto;
      }
    }
  }
}